YAYDP\Core\Rule\Cart_Discount\YAYDP_Combined_Discount S

Total Complexity 14
Dependencies 3
Dependents 3
Total lines 132
Lines of code 80
Logical lines of code 35
Comment lines 34
Methods 6
Properties 2

Methods 6

Method Rating Maintainability Complexity Lines of code
get_coupon_data()
S
48 5 35
get_coupon_content()
S
52 3 26
add_coupon()
S
64 2 9
is_match_coupon()
S
78 2 3
__construct()
S
91 1 2
get_adjustments_from_cart()
S
72 1 5